import request from "../utils/request";
export const postCarouselList = (data)=>{
    return request({
        url:'carousel/list',
        method:'POST',
        data:data
    })
}

// 新增
export const addCarousel = (data)=>{
    return request({
        url:'carousel/add',
        method:'POST',
        data:data
    })
}

// 修改
export const updateCarousel = (data)=>{
    return request({
        url:'carousel/update',
        method:'POST',
        data:data
    })
}

// 删除
export const deleteCarousel = (data)=>{
    return request({
        url:'carousel/delete',
        method:'POST',
        data:data
    })
}